package smashedapples.utils
{
	import mx.utils.ArrayUtil;


	public final class ObjectUtils
	{

		public static function parseByName( data:Object, list:String ):Object
		{
			var rdata:Object = {};
			var l:Array = list.split( "," );
			for each( var key:String in l )
			{
				rdata[ key ] = data[ key ];
			}

			return rdata;
		}
	}
}